import { Layout } from '@fl/utils/routerHelper'

import goodHouseEstate from './modules/good-house-estate'
// import leaseApproval from './modules/lease-approval'
import commentManage from './modules/comment-manage'
import houseDistrict from './modules/house-district'
import housingFair from './modules/housing-fair'
import evaluationManagement from  './modules/evaluation-management'

const houseSourceCenterRoute: AppRouteRecordRaw = {
    children: [
        // leaseApproval,
        goodHouseEstate,
        housingFair,
        houseDistrict,
        commentManage,
        evaluationManagement
    ],
    component: Layout,
    meta: {
        title: '房源中心',
    },
    name: 'house-source-center',
    path: '/house-source-center',
    redirect: '/house-source-center/good-house/good-house-estate',
}

export default houseSourceCenterRoute
